const a = {
  "code": 200,
  "data": [
    {
      "id": "1000",
      "parentId": "-1",
      "name": "权限管理",
      "path": "/user",
      "componentPath": null,
      "sortOrder": 0,
      "menuType": "0",
      "permission": null,
      "children": [
        {
          "id": "1100",
          "parentId": "1000",
          "weight": 1,
          "name": "用户管理",
          "path": "/admin/user/index",
          "componentPath": null,
          "sortOrder": 1,
          "menuType": "1",
          "permission": null,
          "children": [
            {
              "id": "1101",
              "parentId": "1100",
              "weight": 1,
              "name": "用户新增",
              "path": null,
              "componentPath": null,
              "sortOrder": 1,
              "menuType": "2",
              "permission": "sys:user:add"
            },
            {
              "id": "1102",
              "parentId": "1100",
              "weight": 1,
              "name": "用户修改",
              "path": null,
              "componentPath": null,
              "sortOrder": 1,
              "menuType": "2",
              "permission": "sys:user:edit"
            },
            {
              "id": "1103",
              "parentId": "1100",
              "weight": 1,
              "name": "用户删除",
              "path": null,
              "componentPath": null,
              "sortOrder": 1,
              "menuType": "2",
              "permission": "sys:user:del"
            },
            {
              "id": "1104",
              "parentId": "1100",
              "weight": 1,
              "name": "导入导出",
              "path": null,
              "componentPath": null,
              "sortOrder": 1,
              "menuType": "2",
              "permission": "sys:user:export"
            }
          ]
        },
        {
          "id": "1200",
          "parentId": "1000",
          "weight": 2,
          "name": "菜单管理",
          "path": "/admin/menu/index",
          "componentPath": null,
          "sortOrder": 2,
          "menuType": "1",
          "permission": null,
          "children": [
            {
              "id": "1201",
              "parentId": "1200",
              "weight": 1,
              "name": "菜单新增",
              "path": null,
              "componentPath": null,
              "sortOrder": 1,
              "menuType": "2",
              "permission": "sys:menu:add"
            },
            {
              "id": "1202",
              "parentId": "1200",
              "weight": 1,
              "name": "菜单修改",
              "path": null,
              "componentPath": null,
              "sortOrder": 1,
              "menuType": "2",
              "permission": "sys:menu:edit"
            },
            {
              "id": "1203",
              "parentId": "1200",
              "weight": 1,
              "name": "菜单删除",
              "path": null,
              "componentPath": null,
              "sortOrder": 1,
              "menuType": "2",
              "permission": "sys:menu:del"
            }
          ]
        },
        {
          "id": "1300",
          "parentId": "1000",
          "weight": 3,
          "name": "角色管理",
          "path": "/admin/role/index",
          "componentPath": null,
          "sortOrder": 3,
          "menuType": "1",
          "permission": null,
          "children": [
            {
              "id": "1301",
              "parentId": "1300",
              "weight": 1,
              "name": "角色新增",
              "path": null,
              "componentPath": null,
              "sortOrder": 1,
              "menuType": "2",
              "permission": "sys:role:add"
            },
            {
              "id": "1302",
              "parentId": "1300",
              "weight": 1,
              "name": "角色修改",
              "path": null,
              "componentPath": null,
              "sortOrder": 1,
              "menuType": "2",
              "permission": "sys:role:edit"
            },
            {
              "id": "1303",
              "parentId": "1300",
              "weight": 1,
              "name": "角色删除",
              "path": null,
              "componentPath": null,
              "sortOrder": 1,
              "menuType": "2",
              "permission": "sys:role:del"
            }
          ]
        }
      ]
    },
    {
      "id": "1304",
      "parentId": "-1",
      "weight": 1,
      "name": "工作台",
      "path": "/workbench",
      "componentPath": "10",
      "sortOrder": 1,
      "menuType": "0",
      "permission": null,
      "children": [
        {
          "id": "1305",
          "parentId": "1304",
          "weight": 1,
          "name": "主页",
          "path": "/workbench/home_page/index",
          "componentPath": "0",
          "sortOrder": 1,
          "menuType": "1",
          "permission": null
        },
        {
          "id": "1306",
          "parentId": "1304",
          "weight": 1,
          "name": "在线报价",
          "path": "/workbench/online_quote/index",
          "componentPath": "1",
          "sortOrder": 1,
          "menuType": "1",
          "permission": null
        }
      ]
    }
  ],
  "message": "OK"
}
